package com.ljh.onlinetest.event;

import com.ljh.onlinetest.domain.ExamPaper;
import com.ljh.onlinetest.domain.ExamPaperAnswerInfo;
import org.springframework.context.ApplicationEvent;

/**
 * @author 余一
 * @date 2022/3/12  15:21
 */
public class CalculateExamPaperAnswerCompleteEvent extends ApplicationEvent {

    private final ExamPaperAnswerInfo examPaperAnswerInfo;

    public CalculateExamPaperAnswerCompleteEvent(ExamPaperAnswerInfo examPaperAnswerInfo) {
        super(examPaperAnswerInfo);
        this.examPaperAnswerInfo = examPaperAnswerInfo;
    }

    public ExamPaperAnswerInfo getExamPaperAnswerInfo() {
        return examPaperAnswerInfo;
    }
}
